package com.xueyi.system.packingManage.domain.dto;

import com.xueyi.system.packingManage.domain.po.PackingManagePo;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 包装管理 数据传输对象
 *
 * @author yanhe
 */
public class PackingManageDto extends PackingManagePo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("areaId", getAreaId())
            .append("batchId", getBatchId())
            .append("areaName", getAreaName())
            .append("batchName", getBatchName())
            .append("productionId", getProductionId())
            .append("productionName", getProductionName())
            .append("principalUser", getPrincipalUser())
            .append("contactDetails", getContactDetails())
            .append("packDate", getPackDate())
            .append("packImg", getPackImg())
            .append("unitName", getUnitName())
            .append("num", getNum())
            .append("specs", getSpecs())
            .append("productArea", getProductArea())
            .append("harvestDate", getHarvestDate())
            .append("businessName", getBusinessName())
            .append("qualityDate", getQualityDate())
            .append("traceabilityMark", getTraceabilityMark())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}